package initialize

import (
	"guns-go/global"
)
import "gopkg.in/gomail.v2"

func Email() {

	d := gomail.NewDialer(global.GVA_CONFIG.Email.Host, global.GVA_CONFIG.Email.Port,
		global.GVA_CONFIG.Email.From, global.GVA_CONFIG.Email.Secret)

	global.GVA_EMAIL = d
}
